package com.assets.asset.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.assets.common.annotation.Excel;
import com.assets.common.core.domain.BaseEntity;

/**
 * 资产列表对象 t_asset
 *
 * @author bin
 * @date 2023-03-10
 */
public class TAsset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资产编码 */
    @Excel(name = "资产编码")
    private String assetCode;

    /** id */
    private Long aId;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 资产类别 */
    @Excel(name = "资产类别")
    private String assetClass;

    /** 管理员 */
    @Excel(name = "管理员")
    private String assetAdmin;

    /** 使用人 */
    @Excel(name = "使用人")
    private String assetUser;

    /** 购入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date assetBuy;

    /** 所属公司 */
    @Excel(name = "所属公司")
    private String assetCompany;

    /** 使用公司 */
    @Excel(name = "使用公司")
    private String assetUseCompany;

    /** 使用部门 */
    @Excel(name = "使用部门")
    private String assetDepartment;

    /** 区域 */
    @Excel(name = "区域")
    private String assetArea;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String assetModel;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String assetUnit;

    /** 金额 */
    @Excel(name = "金额")
    private Long assetMoney;

    /** 来源 */
    @Excel(name = "来源")
    private String assetSource;

    /** 备注 */
    @Excel(name = "备注")
    private String assetRemark;

    /** 资产状态 */
    @Excel(name = "资产状态")
    private String assetStatus;

    /** 资产照片 */
    @Excel(name = "资产照片")
    private String assetImages;

    public void setAssetCode(String assetCode)
    {
        this.assetCode = assetCode;
    }

    public String getAssetCode()
    {
        return assetCode;
    }
    public void setaId(Long aId)
    {
        this.aId = aId;
    }

    public Long getaId()
    {
        return aId;
    }
    public void setAssetName(String assetName)
    {
        this.assetName = assetName;
    }

    public String getAssetName()
    {
        return assetName;
    }
    public void setAssetClass(String assetClass)
    {
        this.assetClass = assetClass;
    }

    public String getAssetClass()
    {
        return assetClass;
    }
    public void setAssetAdmin(String assetAdmin)
    {
        this.assetAdmin = assetAdmin;
    }

    public String getAssetAdmin()
    {
        return assetAdmin;
    }
    public void setAssetUser(String assetUser)
    {
        this.assetUser = assetUser;
    }

    public String getAssetUser()
    {
        return assetUser;
    }
    public void setAssetBuy(Date assetBuy)
    {
        this.assetBuy = assetBuy;
    }

    public Date getAssetBuy()
    {
        return assetBuy;
    }
    public void setAssetCompany(String assetCompany)
    {
        this.assetCompany = assetCompany;
    }

    public String getAssetCompany()
    {
        return assetCompany;
    }
    public void setAssetUseCompany(String assetUseCompany)
    {
        this.assetUseCompany = assetUseCompany;
    }

    public String getAssetUseCompany()
    {
        return assetUseCompany;
    }
    public void setAssetDepartment(String assetDepartment)
    {
        this.assetDepartment = assetDepartment;
    }

    public String getAssetDepartment()
    {
        return assetDepartment;
    }
    public void setAssetArea(String assetArea)
    {
        this.assetArea = assetArea;
    }

    public String getAssetArea()
    {
        return assetArea;
    }
    public void setAssetModel(String assetModel)
    {
        this.assetModel = assetModel;
    }

    public String getAssetModel()
    {
        return assetModel;
    }
    public void setAssetUnit(String assetUnit)
    {
        this.assetUnit = assetUnit;
    }

    public String getAssetUnit()
    {
        return assetUnit;
    }
    public void setAssetMoney(Long assetMoney)
    {
        this.assetMoney = assetMoney;
    }

    public Long getAssetMoney()
    {
        return assetMoney;
    }
    public void setAssetSource(String assetSource)
    {
        this.assetSource = assetSource;
    }

    public String getAssetSource()
    {
        return assetSource;
    }
    public void setAssetRemark(String assetRemark)
    {
        this.assetRemark = assetRemark;
    }

    public String getAssetRemark()
    {
        return assetRemark;
    }
    public void setAssetStatus(String assetStatus)
    {
        this.assetStatus = assetStatus;
    }

    public String getAssetStatus()
    {
        return assetStatus;
    }
    public void setAssetImages(String assetImages)
    {
        this.assetImages = assetImages;
    }

    public String getAssetImages()
    {
        return assetImages;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("assetCode", getAssetCode())
            .append("aId", getaId())
            .append("assetName", getAssetName())
            .append("assetClass", getAssetClass())
            .append("assetAdmin", getAssetAdmin())
            .append("assetUser", getAssetUser())
            .append("assetBuy", getAssetBuy())
            .append("assetCompany", getAssetCompany())
            .append("assetUseCompany", getAssetUseCompany())
            .append("assetDepartment", getAssetDepartment())
            .append("assetArea", getAssetArea())
            .append("assetModel", getAssetModel())
            .append("assetUnit", getAssetUnit())
            .append("assetMoney", getAssetMoney())
            .append("assetSource", getAssetSource())
            .append("assetRemark", getAssetRemark())
            .append("assetStatus", getAssetStatus())
            .append("assetImages", getAssetImages())
            .toString();
    }
}
